﻿@{
	var controller = ViewContext.RouteData.Values["controller"].ToString();
	var controllerName = controller.GetControllerName();

	if (ConstValues.PageLogsType_System.Contains(controllerName)) {
		Layout = "~/Views/Shared/_LayoutSystem.cshtml";
	}
	else if (ConstValues.PageLogsType_Conference.Contains(controllerName)) {
		Layout = "~/Views/Shared/_LayoutConference.cshtml";
	}
	else {
		Layout = "~/Views/Shared/_Layout.cshtml";
	}
}